package com.iraeta.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 部门用户表
 * </p>
 *
 * @author chenbin
 * @since 2023-12-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sys_orguser")
public class SysOrguser implements Serializable {

    private static final long serialVersionUID = 1L;

    public SysOrguser(Integer orgId, Integer uId) {
        this.orgId = orgId;
        this.uId = uId;
    }

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 部门id
     */
    private Integer orgId;

    /**
     * 用户id
     */
    private Integer uId;


}
